package com.healthbox.notifications.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author chs
 * @since 2022-05-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("reportInfo")
public class ReportInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 表编号
     */
    @TableId(value = "reportId", type = IdType.AUTO)
    private Integer reportId;

    /**
     * 手机号（账户）
     */
    @TableField("phoneNum")
    private String phoneNum;

    /**
     * 姓名
     */
    private String name;

    /**
     * 体温
     */
    private Float temperature;

    /**
     * 日期
     */
    private LocalDate date;

    /**
     * 14天内途径中高风险地区时，值为1；否则为0
     */
    private Integer trip;

    /**
     * 14天内接触高风险人员时，值为1；否则为0
     */
    private Integer contactor;

    /**
     * 14天内途径中高风险地区时，值为1；否则为0
     */
    private Integer risk;


}
